package com.jewelry.crm.model.dao;


import com.jewelry.crm.model.domain.Supplier;

import java.sql.SQLException;
import java.util.Collection;

public interface SupplierDao {
    public void addSupplier(Supplier supplier) throws SQLException;
    public void updateSupplier(Supplier supplier) throws SQLException;
    public Supplier getSupplierById(Long supplier_id) throws SQLException;
    public Collection getAllSuppliers() throws SQLException;
    public void deleteSupplier(Supplier supplier) throws SQLException;
}
